%% 暂时画图函数
clear all;
clc;

%% 读取文件
kr6 = importdata('kr6.csv');
kr9 = importdata('kr9.csv');
kr12 = importdata('kr12.csv');

%% 画图
figure;
plot(kr6(1, :), kr6(2, :), 'linewidth', 1.5);
hold on;
plot(kr9(1, :), kr9(2, :), 'linewidth', 1.5);
plot(kr12(1, :), kr12(2, :), 'linewidth', 1.5);
xlabel('distance to landing site(m)');
ylabel('altitude(m)');
axis([-100, 10000, 2000, 3600]);
legend('kr = 6.0', 'kr = 9.0', 'kr = 12.0');